// dlg.txt

//mark_quest_dest(zone,x,y,layer,quest);
//void cancel_out_fight(0,short kill_enc)
//void make_outdoor_enc(short x,short y,short which_enc)
//void set_out_fight_field(short which_field)

begintalkscript;

variables;

short this_sec = 84;

begintalknode;
	tag = 1;
	condition = get_sdf(100 + this_sec,1) == 0;
	text1 = "From here, you get a good view of the Rokaj city of Laskara. Considering the Ro's reputation as a wild, lawless place, Laskara looks sort of dull. It looks like any of a hundred port cities in the Empire. Ships sail in and out, carrying food, building materials, and precious goods.";
	text2 = "One odd detail does stand out. Laskara used to have tall stone walls. The aging remains of those walls are still there, overgrown with brush. Nobody is making any effort to repair them.";
	code =
		sf(100 + this_sec,1,1);
	break;
	
begintalknode;
	tag = 2;
	condition = get_sdf(184,10) == 0 && gf(10,11) > 0;
	text1 = "You leave the city of Laskara, permission to explore the Rokaj easily secured. Now you can wander the Ro much more easily.";
	text2 = "(You can now use Fast Travel on the world map. Bring up the World Map and select a location you discovered, and you can travel there quickly.)";
	code =
		sf(184,10,1);
	break;

begintalknode;
	tag = 3;
	condition = get_sdf(100 + this_sec,3) == 0;
	text1 = "You find the remains of a recent battle. Raiders attacked a merchant caravan. One wagon was split off from the group and destroyed.";
	text2 = "You search the wreckage. Most things of value were stolen, but you find a pretty crystal.";
	code =
		change_crafting(1,0,0,0,0);
		sf(100 + this_sec,3,1);
	break;

begintalknode;
	tag = 4;
	condition = get_sdf(100 + this_sec,4) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,4,1);
	break;

begintalknode;
	tag = 5;
	condition = get_sdf(100 + this_sec,5) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,5,1);
	break;

begintalknode;
	tag = 6;
	condition = get_sdf(100 + this_sec,6) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,6,1);
	break;

begintalknode;
	tag = 7;
	condition = get_sdf(100 + this_sec,7) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,7,1);
	break;

begintalknode;
	tag = 8;
	condition = get_sdf(100 + this_sec,8) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,8,1);
	break;

begintalknode;
	tag = 9;
	condition = get_sdf(100 + this_sec,9) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,9,1);
	break;

begintalknode;
	tag = 10;
	condition = get_sdf(100 + this_sec,10) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,10,1);
	break;

begintalknode;
	tag = 11;
	condition = get_sdf(100 + this_sec,11) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,11,1);
	break;

begintalknode;
	tag = 12;
	condition = get_sdf(100 + this_sec,12) == 0;
	text1 = "__";
	code =
		sf(100 + this_sec,12,1);
	break;

// MIXED

begintalknode;
	tag = 13;
	condition = gf(184,12) == 0;
	text1 = "The road is patrolled by a band of Rokaj warriors. They are all people of the Gentle Coast. They are not the wild savages they imagine back in Haven. They have shiny, imported armor and show every sign of being trained by Haven.";
	text2 = "They are very alert. The recent raids have enraged them, and they are ready to kill. When you approach and they see who you are, they step off of the road as you pass.";
	code =
		sf(184,12,1);
	break;
	
begintalknode;
	tag = 14;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 15;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 16;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 17;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 18;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 19;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 20;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 21;
	condition = 1;
	text1 = "__";

begintalknode;
	tag = 22;
	condition = 1;
	text1 = "__";

////

begintalknode;
	tag = 30;
	state = -1;
	nextstate = 10;
	condition = gf(184,2) == 0;
	question = "Name";
	text1 = "You enter a large, Havenite military encampment. A large portion of the Seventh Army is camped here. There are long rows of tents, dotted with cooking fires and protected by a huge wooden fortification.";
	text2 = "This camp has been here for a long time. The feet of generations of soldiers have carved ruts in the roads. When you are recognized, you are welcomed in with great ceremony. Soldiers line up to gawk at you and salute as you explore.";
	text3 = "There is great tension in the air, but also enthusiasm. They are furious about the recent raids and the attacks on Sutter and you, and they are waiting for the order to march out and bust heads.";
	text4 = "The camp is calm right now. Nervous, though. After Sutter and you were attacked, they were expecting to march out to battle at any moment. Now, they aren't sure what is happening or when they will be allowed to fight.";
	text5 = "The camp is alive with activity. The soldiers are preparing to go battle at any moment. Weapons are being sharpened, armor cleaned, wagons loaded with provisions. Your warriors are ready and eager for war on the Rokaj.";
	code =
		sf(184,2,1);
		cs();
		as(1); as(2);
		if (gf(80,12) >= 8)
			as(5);
			else if (gf(80,12) > 0)
				as(4);
				else as(3);
	break;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Look around.";
	text1 = "There are thousands of fine Havenite soldiers here. Since the Great Uprising of the Rokaj a century ago, Haven has always kept a powerful force here. It has sent an effective message to the Ro, keeping them under control. Until now.";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Find out who is in charge.";
	text1 = "The commander of the Seventh Army in the Ro is General Angach. The general is currently staying in Laskara, not far to the north.";

begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Get food and drink.";
	text1 = "You have earned a reputation in Haven as a wild spirit, and the soldiers are eager to spend time with you. You are able to eat, drink, and trade stories of battle for as long as you want.";
	text2 = "There is a constant tension in the air, though. The soldiers believe that they will march into the mountains to do battle any day now.";
	code =
		if (gf(80,12) < 8)
			rs(2);
	break;
	
begintalknode;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Depart.";
	text1 = "You bid goodbye to the soldiers and move on. You are free to explore the area as much as you wish. There is a powerful force here, ready to fight for Haven. You suspect they are more than competent to handle the Rokaj. They have before.";
	text2 = "The question is: Will a war be necessary?";
	action = END_TALK;

//

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 40;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 40;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

	
//

begintalknode;
	tag = 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

begintalknode;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";


//

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 100;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 100;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 130;
	state = -1;
	nextstate = 130;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 130;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";

//

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 160;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 160;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
		
//

begintalknode;
	tag = 190;
	state = -1;
	nextstate = 190;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode;
	state = 190;
	nextstate = -1;
	condition = 1;
	question = "__";
	text1 = ".";
	text2 = "";
				